package com.itheima.thread.api.dem01;

public class Thread1 extends Thread {

    public Thread1(String name){
        super(name);
    }

    @Override
    public void run() {
        for (int i = 0; i < 5; i++) {
            System.out.println(i + ", " + Thread.currentThread().getName());
        }

    }
}
